title {Knight by Jeff Sieu. Made for Google Code-in 2017}
units mm
put {nosebridge.s} tgc V {9.352709000000004380126484 -3.525789999999890511617195 80.78344850000023313896236}  H {-19.14158212483127030623109 -1.101398557933205700619376E-15 -4.008762911514063843746032E-16}  A {3.673940397442060361078391E-16 -5.638155724715451455608672 -2.052120859954011056203171}  B {0 -1.636701665453711651565527 4.496800868217849078689596}  C {3.673940397442060361078391E-16 -5.638155724715451455608672 -2.052120859954010612113962}  D {0 -1.636701665453711651565527 4.496800868217849078689596} 
put {bottomtor2.s} tor V {0 0 9.596580000000059840203903}  H {6.12323399573676603586882E-17 0 1}  r_a 13.70450855072022378067231 r_h 3.825815710827906279689614
put {bottomtor1.s} tor V {0 0 28.10273999999994032350514}  H {6.12323399573676603586882E-17 0 1}  r_a 12.58196306773280248592073 r_h 1.732851834446541783307794
put {bodysidecutleft.s} tgc V {53.6557214677912170941454 -33.67507614822139316856919 95.69336050000360671674571}  H {-20.22449106457484546695014 143.9047313715058749039599 6.169122640972837335375385E-15}  A {41.33529643904953587707496 5.809297064214792527536702 -2.55302085840457415599758}  B {-6.045441934467547184794967 -0.8496314556149066055112939 -99.81347984218669466827123}  C {41.33529643904953587707496 5.809297064214792527536702 -2.55302085840457415599758}  D {-6.045441934467546296616547 -0.8496314556149064944889915 -99.81347984218669466827123} 
put {headsidecutleft.s} tgc V {22.4313670000000300319698 -28.39713199999998138878254 66.36153450000099951466837}  H {6.936023102199139422907592 58.60216329849748717606417 21.47832101088326695048636}  A {20.34482858059398324712674 -2.407969144867709410107182 0}  B {0.8235739520514423483987798 6.958341187070909761303028 -19.25132668795071921863382}  C {20.34482858059398324712674 -2.407969144867709410107182 0}  D {0.8235739520514423483987798 6.958341187070909761303028 -19.25132668795071921863382} 
put {bottometo.s} eto V {0 0 20}  N {0 0 0.06032399549610674427402301}  C {2.864077970686895735497046 1.71612229850775266370988 1.889299368274914403542653}  r 12.40790665756528099450406 r_d 1.673109642593672896637713
put {bodyrcc2.s} tgc V {1.17739012233862844939333E-14 11.10387200000011453937532 69.77637950000288924456981}  H {0 -6.924928138629929286196329 19.02608369223165496464389}  A {13.69742765710896037489874 0 0}  B {0 12.87137169313410289817057 4.684796170477387278197057}  C {13.69742765710896037489874 0 0}  D {0 12.87137169313410289817057 4.684796170477387278197057} 
put {bodycut.s} tor V {0 0 44.16302899999998743396645}  H {6.12323399573676603586882E-17 0 1}  r_a 107.6761975244730109579905 r_h 97.57911721751440836669644
put {baseeto.s} eto V {0 0 5}  N {-5.470978323999804257192075E-18 0 -0.04467392825269222295103688}  C {9.315747832292275987242647 -1.365449293915910411456593 -4.391804451322707691929281}  r 12.99673099698723177652937 r_d 4.265499428605880716247611
put {bodyrcc.s} tgc V {1.177390122338628764937692E-14 -5.261487999999998166344994 23.35826750000251195160672}  H {0 28.82813499219855302158066 49.9317944939421209937791}  A {18.70346099816892859735162 0 0}  B {0 16.19767236310574887170333 -9.351730499084462522318972}  C {18.70346099816892859735162 0 0}  D {0 16.19767236310574887170333 -9.351730499084462522318972} 
put {headrcc.s} tgc V {2.364945229490083123615446E-14 -22.43134200000001854391485 70.83590250000071364411269}  H {0 21.66504172617712953297087 7.885430312463741486794788}  A {8.668888204531146612907833 0 0}  B {0 2.96493438618794336036899 -8.146090276215920411573279}  C {8.668888204531146612907833 0 0}  D {0 2.96493438618794336036899 -8.146090276215920411573279} 
put {bodybottomsph.s} ell V {0 0 60.84612300000016915646484}  A {33.54831727294207155409822 0 0}  B {0 33.54831727294207155409822 0}  C {0 0 33.54831727294207155409822} 
put {toptor.s} tor V {-1.290968171125081238436545E-14 26.0108720000002442418463 8.970701999999491249582206}  H {1 0 0}  r_a 65.14638440000000230156729 r_h 16.28659610000000057539182
put {earcut.s} tgc V {6.942508314766508912183652E-14 -13.66162200000000304100922 85.5714520000014005063349}  H {0 30.34242292565693688288775 11.04373878045554668858586}  A {5 0 0}  B {0 2.052120859954011500292381 -5.638155724715449679251833}  C {5 0 0}  D {0 2.052120859954011500292381 -5.638155724715449679251833} 
put {knight.r} comb region yes tree {l knight.c {1 0 0 0  0 1 0 0  0 0 1 0.960356  0 0 0 1}}
attr set {knight.r} {region} {R} {shader} {plastic {re 0.1 sp 0.9 di 0.1 sh 50 ex 1}} {region_id} {1000} {material_id} {1} {los} {100} {color} {255/255/217}
put {bottom.c} comb region no tree {u {u {u {l bottometo.s} {l bottomtor1.s}} {u {l bottomtor2.s} {l baseeto.s}}} {l base_filler.s}}
put {bodyfrontcutright.s} tgc V {-13.74871600000018645459932 -33.1595789999997947461452 63.90854050000422859056926}  H {-41.4843562340515603636959 49.43913057838897628926134 -5.652944372718708048669131E-15}  A {-20.4576653316778021007849 -17.16601943455906820190648 -3.9911764866229089143701}  B {4.529143121461073562272759 3.800402322767091778388249 -39.56063453447669076012971}  C {-20.4576653316778021007849 -17.16601943455906820190648 -3.9911764866229089143701}  D {4.529143121461073562272759 3.800402322767091778388249 -39.56063453447669076012971} 
put {eararb.s} arb8 V1 {-26.90565549999994132690517 -0.4176225000000420295442893 84.91516750000046442892199}  V2 {-26.90565549999994132690517 7.334443121211129401615381 86.28206582524249768084701}  V3 {26.30018901632412564595143 7.334443121211129401615381 86.28206582524249768084701}  V4 {26.30018901632412564595143 -0.4176225000000420295442893 84.91516750000046442892199}  V5 {-26.90565549999994132690517 2.091511985363494030565334 93.35068228383262578518043}  V6 {-26.90565549999994132690517 2.091511985363494030565334 93.35068228383262578518043}  V7 {26.300189016324097224242 2.091511985363494030565334 93.35068228383262578518043}  V8 {26.300189016324097224242 2.091511985363494030565334 93.35068228383262578518043} 
put {knight.c} comb region no tree {u {u {l head.c} {l body.c}} {u {l base.c} {l bottom.c}}}
put {mouth.s} arb8 V1 {-14.69511850000539787686193 -22.33384350000072160469244 67.49057449999915547778073}  V2 {-14.69511850000507457991716 -22.33384350000071805197877 65.1856549462537060435352}  V3 {14.5501529284419532928041 -22.33384350000074292097452 65.18565494625448764054454}  V4 {14.55015292844173302455602 -22.3338435000007464736882 67.49057449999935442974675}  V5 {-14.69511850000531438809048 -12.88574518707542360118623 69.9097041027158496717675}  V6 {-14.69511850000531438809048 -12.88574518707542360118623 69.9097041027158496717675}  V7 {14.55015292844241514558234 -12.88574518707783234106046 69.90970410271543755698076}  V8 {14.55015292844241514558234 -12.88574518707783234106046 69.90970410271543755698076} 
put {bodyfrontcut.s} tgc V {-30.07391999999968135171002 -30.49249499999977786046657 57.49796150000538830227015}  H {64.53820143527930497384659 5.398293464965921771651639E-15 1.446468374443825363721499E-15}  A {1.653406732298293568477734E-15 -23.38457478442728287859609 13.50109054667402830318679}  B {2.449293598294706907385594E-15 -20 -34.64101615137754208717524}  C {1.653406732298293568477734E-15 -23.38457478442728287859609 13.50109054667402830318679}  D {2.449293598294706907385594E-15 -20 -34.64101615137754208717524} 
put {scene.g} comb region no tree {u {l knight.r} {l tile.r}}
put {tile.s} arb8 V1 {28.5 -28.5 0}  V2 {28.5 28.5 0}  V3 {28.5 28.5 -1}  V4 {28.5 -28.5 -1}  V5 {-28.5 -28.5 0}  V6 {-28.5 28.5 0}  V7 {-28.5 28.5 -1}  V8 {-28.5 -28.5 -1} 
put {tile.r} comb region yes tree {l tile.s}
attr set {tile.r} {region} {R} {shader} {plastic {re 0.5 sh 1}} {region_id} {1000} {material_id} {1} {los} {100} {color} {255/255/255}
put {base.s} tgc V {0 0 5.912562917080187219198706}  H {0 0 23.32946212598685420402944}  A {20.43520228184366160917307 0 0}  B {0 20.43520228184366160917307 0}  C {20.43520228184366160917307 0 0}  D {0 20.43520228184366160917307 0} 
put {body.c} comb region no tree {u {- {- {- {- {- {n {n {l bodyrcc.s} {l bodybottomsph.s}} {l bodysidesph.s}} {l bodysidecutleft.s}} {l bodysidecutright.s}} {l bodyfrontcutleft.s}} {l bodyfrontcutright.s}} {l bodyfrontcut.s}} {- {- {- {- {- {- {- {- {n {n {l bodyrcc2.s} {l bodysidesph.s}} {l toptor.s}} {l bodysidecutleft.s}} {l bodysidecutright.s}} {l bodyfrontcutleft.s}} {l bodyfrontcutright.s}} {l bodyfrontcut.s}} {l bodysidecutleft.s}} {l bodysidecutright.s}} {l bodyfrontcut.s}}}
put {base.c} comb region no tree {u {u {u {u {l bottomtor1.s} {l bottomtor1.s}} {- {- {l base.s} {l bodycut.s}} {l bottomtor1.s}}} {l bottomtor1.s}} {l bottomtor1.s}}
put {head.c} comb region no tree {u {u {- {- {- {- {- {n {l headrcc.s} {l toptor.s}} {l bodysidecutleft.s}} {l bodysidecutright.s}} {l headsidecutleft.s}} {l headsidecutright.s}} {l mouth.s}} {- {- {- {- {l nosebridge.s} {l bodysidecutleft.s}} {l bodysidecutright.s}} {l headsidecutleft.s}} {l headsidecutright.s}}} {- {- {- {- {- {l eararb.s} {l bodysidecutleft.s}} {l bodysidecutright.s}} {l headsidecutleft.s}} {l headsidecutright.s}} {l earcut.s}}}
put {bodyfrontcutleft.s} tgc V {13.74871600000018645459932 -33.1595789999997947461452 63.90854050000422859056926}  H {41.48435623405157457455061 49.43913057838896918383398 -5.65294437271870647094732E-15}  A {20.45766533167779854807122 -17.16601943455906820190648 -3.99117648662290935845931}  B {-4.529143121461062904131722 3.800402322767092222477459 -39.56063453447669076012971}  C {20.45766533167779854807122 -17.16601943455906820190648 -3.99117648662290935845931}  D {-4.529143121461062904131722 3.800402322767092222477459 -39.56063453447669076012971} 
put {bodysidecutright.s} tgc V {-53.6557214677912170941454 -33.67507614822139316856919 95.69336050000360671674571}  H {20.22449106457484901966382 143.9047313715058749039599 6.169122640972837335375385E-15}  A {-41.33529643904954298250232 5.809297064214777428503567 -2.553020858404567494659432}  B {6.045441934467558731114423 -0.8496314556149066055112939 -99.81347984218669466827123}  C {-41.33529643904954298250232 5.809297064214777428503567 -2.553020858404567494659432}  D {6.045441934467559619292842 -0.8496314556149064944889915 -99.81347984218669466827123} 
put {headsidecutright.s} tgc V {-22.4313670000000300319698 -28.39713199999998138878254 66.36153450000099951466837}  H {-6.936023102199119882982359 58.60216329849748717606417 21.47832101088326695048636}  A {-20.34482858059398324712674 -2.407969144867712074642441 0}  B {-0.8235739520514422373764774 6.958341187070909761303028 -19.2513266879507227713475}  C {-20.34482858059398324712674 -2.407969144867712074642441 0}  D {-0.8235739520514422373764774 6.958341187070909761303028 -19.2513266879507227713475} 
put {bodysidesph.s} ell V {1.591615728102624416351318E-12 -17.12677000000023497250368 59.51325500000131540900838}  A {40 0 0}  B {0 40 0}  C {0 0 57.67733156681060791015625} 
put {base_filler.s} tgc V {0 0 -0.8138631382182293094729175}  H {0 0 12.74035922868059600432389}  A {16.38855503646686528895771 0 0}  B {0 16.38855503646686528895771 0}  C {9.863417071382475143082047 0 0}  D {0 4.931708535691237571541023 0} 
